home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************
- ; Filename : line.h
- ;
- ; Date : 15-6-94
- ; Mod. Date : 29-7-94
- ;
- ; Others : Obtained from Ferraro
- ; : VGA Trainer (smith9@batis.bis.und.ac.za)
- ; ; VGL20 (morley@camosun.bc.ca)
- ;****************************************************/
- #ifndef LINE_H
- #define LINE_H
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- //clipper routine
- int mtClipLine(int *x1, int *y1, int *x2, int *y2);
-
- //line routine
- void mtCLine(int x1, int y1, int x2, int y2, int color);
- void mtLine(int x1,int y1,int x2,int y2,int color);
- void mtHLine(int x1,int x2, int y1, int color);
- void mtVLine(int x1,int y1, int y2, int color);
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif LINE_H
-
-